﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Torch_IServices
{
    /// <summary>
    /// 外来人员出入信息
    /// </summary>
    public interface IIn_OutPersonInfoService
    {
        Task<int> AddinOupAsync(string realName,int gender,string Tel,string address);
        Task<int> EditinOupAsync(int id, string realName, int gender, string Tel, string address);
        Task<int> DeleteinOupAsync(int id);
        Task<List<In_OutPersonInfoDto>> GetinOupAllAsync();
        Task<In_OutPersonInfoDto> QueryinOupByIdAsync(int id);
        Task<List<In_OutPersonInfoDto>> QueryinOupByNameAsync(string realName);
    }
}
